/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mac
 * Date: 2022-08-31
 * Time: 16:06
 */
public class SeqTableWork {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.addPos(0,1);
        myArrayList.addPos(1,2);
        myArrayList.addPos(2,3);
        myArrayList.addPos(3,4);
        myArrayList.addPos(4,5);

        /*System.out.println(myArrayList.judgeData(7));
        System.out.println(myArrayList.getPos(9));*/
        //myArrayList.setPos(5,99);
        myArrayList.remove(9);
        myArrayList.clear();
        myArrayList.display();
        System.out.println(myArrayList.size());
    }
}
